package com.yang.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用户DTO")
public class UserDTO {

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别, 0:女, 1:男")
    private Integer gender;

    @ApiModelProperty(value = "年龄")
    private Integer age;

}
